Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): Add python 3.13 to CI #904

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

Michael-J-Ward
Copy link
Contributor

@Michael-J-Ward Michael-J-Ward commented Oct 10, 2024

pyarrow doesn't build for python 3.13 yet.

From the failed CI:

https://github.com/apache/datafusion-python/actions/runs/11280100808/job/31372297766?pr=904#step:12:452

Building wheel for pyarrow (pyproject.toml) did not run successfully.
  │ exit code: 1
  ╰─> [395 lines of output]
      <string>:34: DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html

...

      -- Using ld linker
      -- Build Type: RELEASE
      -- CMAKE_C_FLAGS:  -Wall -fno-semantic-interposition -msse4.2  -fdiagnostics-color=always  -fno-omit-frame-pointer -Wno-unused-variable -Wno-maybe-uninitialized
      -- CMAKE_CXX_FLAGS:  -Wno-noexcept-type  -Wall -fno-semantic-interposition -msse4.2  -fdiagnostics-color=always  -fno-omit-frame-pointer -Wno-unused-variable -Wno-maybe-uninitialized
      -- Generator: Unix Makefiles
      -- Build output directory: /tmp/pip-install-1qxkp69y/pyarrow_be117532eba7420680a49221e1c110c9/build/temp.linux-x86_64-cpython-313/release
      -- Found Python3: /home/runner/work/datafusion-python/datafusion-python/venv/bin/python (found version "3.13.0") found components: Interpreter Development.Module NumPy
      -- Found Python3Alt: /home/runner/work/datafusion-python/datafusion-python/venv/bin/python
      -- Found NumPy version: 2.1.2
      -- NumPy include dir: /tmp/pip-build-env-qz6mjvpu/overlay/lib/python3.13/site-packages/numpy/_core/include
      CMake Error at CMakeLists.txt:266 (find_package):
        By not providing "FindArrow.cmake" in CMAKE_MODULE_PATH this project has
        asked CMake to find a package configuration file provided by "Arrow", but
        CMake did not find one.
      
        Could not find a package configuration file provided by "Arrow" with any of
        the following names:
      
          ArrowConfig.cmake
          arrow-config.cmake
      
        Add the installation prefix of "Arrow" to CMAKE_PREFIX_PATH or set
        "Arrow_DIR" to a directory containing one of the above files.  If "Arrow"
        provides a separate development package or SDK, be sure it has been
        installed.
      
      
      -- Configuring incomplete, errors occurred!
      error: command '/usr/local/bin/cmake' failed with exit code 1
      [end of output]
  
  note: This error originates from a subprocess, and is likely not a problem with pip.
  ERROR: Failed building wheel for pyarrow

Which issue does this PR close?

Closes #902.

Rationale for this change

Python 3.13 is the latest python release.
https://devguide.python.org/versions/

What changes are included in this PR?

  • added requirements-313.txt
  • CI tests are run against python 3.13

Are there any user-facing changes?

No.

@Michael-J-Ward Michael-J-Ward marked this pull request as draft October 10, 2024 20:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Python 3.13 to CI
1 participant